package com.ruoyi.project.system.domain;

import java.util.Date;
import java.util.List;

import com.ruoyi.framework.web.domain.BaseEntity;
import org.springframework.data.annotation.Id;
import org.springframework.data.elasticsearch.annotations.Document;


/**
 * <p>
 * 
 * </p>
 *
 * @author jjp
 * @since 2019-12-11
 */
public class SysFood extends BaseEntity {
    private static final long serialVersionUID = 1L;
    private Long foodId;

    private Long typeId;
    /**
     * 物品名称
     */
    private String name;
    /**
     * 描述
     */
    private String description;
    /**
     * 活动
     */
    private String activity;
    /**
     * 图片
     */
    private String img;
    /**
     * 评价
     */
    private Double rating;
    /**
     * 销售量
     */
    private Double sales;
    /**
     * 数据字典(食品属性)
     */
    private String attr;
    /**
     * 售罄状态（0正常 1结束）
     */
    private String status;

    private String typeName;

    private String typeDescription;

    /**
     * 图片列表
     */
    private List<SysDeptImg> fileList;

    /**
     * 规格
     */
    private List<SysSpec> specfoods;


    public Long getFoodId() {
        return foodId;
    }

    public void setFoodId(Long foodId) {
        this.foodId = foodId;
    }

    public Long getTypeId() {
        return typeId;
    }

    public void setTypeId(Long typeId) {
        this.typeId = typeId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public String getActivity() {
        return activity;
    }

    public void setActivity(String activity) {
        this.activity = activity;
    }

    public String getImg() {
        return img;
    }

    public void setImg(String img) {
        this.img = img;
    }

    public Double getRating() {
        return rating;
    }

    public void setRating(Double rating) {
        this.rating = rating;
    }

    public Double getSales() {
        return sales;
    }

    public void setSales(Double sales) {
        this.sales = sales;
    }

    public String getAttr() {
        return attr;
    }

    public void setAttr(String attr) {
        this.attr = attr;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }


    public String getTypeName() {
        return typeName;
    }

    public void setTypeName(String typeName) {
        this.typeName = typeName;
    }

    public String getTypeDescription() {
        return typeDescription;
    }

    public void setTypeDescription(String typeDescription) {
        this.typeDescription = typeDescription;
    }

    public List<SysDeptImg> getFileList() {
        return fileList;
    }

    public void setFileList(List<SysDeptImg> fileList) {
        this.fileList = fileList;
    }

    public List<SysSpec> getSpecfoods() {
        return specfoods;
    }

    public void setSpecfoods(List<SysSpec> specfoods) {
        this.specfoods = specfoods;
    }
}
